package org.jiuling.aliyun.spring.config;

import org.jiuling.aliyun.config.AliYunConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 阿里云Bena配置
 * @author 紫灵
 * @date 2023年01月04日 09时59分36秒
 */
@Component
@Configuration
public class AliYunBeanConfig {

    @Bean
    @ConfigurationProperties(prefix = "jiu-ling.aliyun")
    public AliYunConfig aliYunConfig(){
        return new AliYunConfig();
    }
}
